<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>054-获取元素.html</title>
</head>
<body>
	<div id="box" class="box"></div>
	<span></span>
	<span></span>
	<span></span>
	<span></span>

</body>
<script>
	var oBox = document.getElementById('box');
	// var oBox = document.getElementByTagName('box')[0];
	// var oBox = document.querySelectorAll('.box');
	var oBox1 = oBox.getElementsByTagName('span');
	// console.log(oBox);
	console.log(oBox1);
</script>
</html>